JIRA 5.x Development Cookbook by 2013

JIRA 5.x Development Cookbook by 2013

Author:2013
Language: eng
Format: epub
Publisher: Packt Publishing


Create the filter:final SearchRequest newSearchRequest = searchRequestService.createFilter(ctx, searchRequest, favourite);

In this case, favourite is a Boolean which can be set to true if you want the filter to be made a favorite.

Updating a filter is very much similar to creating a filter. Once the search request is updated and the context is created, we need to invoke the following method to update and persist the filter with the new search parameters in the database, that is, the new query:

SearchRequest updatedSearchRequest = searchRequestService.updateSearchParameters(JiraServiceContext serviceCtx, SearchRequest request);



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.